import { EnumProperty, IWidget } from "xcore/cmpnt"

var Button: IWidget = {
  cmpnt: "ElButton",
  valueKey: "button",
  category: "widgets",
  props: {
    innerText: "按钮",
    type: "danger",
    size: "small",
    icon: "",
    "loading-icon": "",
    plain: false,
    disabled: false,
    text: false,
    link: false,
    round: false,
    circle: false,
    loading: false,
    style: {
      width: "auto",
    },
    class: [],
    bind: {
      properties: [EnumProperty.Event, EnumProperty.Removed],
    },
  },
  events: {},
  ctl: {
    icon: "iconfont te-i-button",
    name: "Button",
    group: "button",
    text: "按钮组件",
  },
};
export { Button };
